<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<ul class="ul">
		<li>abcdefg</li>
		<li>abcdefg</li>
		<li>abcdefg</li>
	</ul>
	<script>
			var ul = document.querySelector(".ul");
			var childs = ul.childNodes;
			var childs = ul.children;
			console.log(childs[0].nextSibling.nextSibling.nodeName)
			var li = document.createElement("li");
			li .innerHTML = "HELLO WORLD";
			//ul.appendChild(li);
			ul.insertBefore(li,childs[1]);
	</script>
</body>
</html>